package com.cx.controller;

import com.cx.entity.Foods;
import com.cx.service.FoodService;
import lombok.Data;

@Data
public class FoodController {
    private FoodService foodService;
    public Foods orderTeacher(int id) {
        Foods food = foodService.getOneFoodById(id);
        return food;
    }
}
